﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using WarehouseManagement.Shared;
using WarehouseManagement.Views;
using WarehouseManagement.Views.Login;
using WarehouseManagement.Views.Shared;

namespace WarehouseManagement
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            DevExpress.UserSkins.OfficeSkins.Register();
           
            DevExpress.LookAndFeel.UserLookAndFeel.Default.UseWindowsXPTheme = false;
            DevExpress.LookAndFeel.UserLookAndFeel.Default.UseDefaultLookAndFeel = true;
            DevExpress.LookAndFeel.UserLookAndFeel.Default.SkinName = "Caramel";

            DevExpress.Skins.SkinManager.EnableMdiFormSkins();
            DevExpress.Skins.SkinManager.EnableFormSkins();

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            //Application.Run(new ControlPanel());
            //Application.Run(new MainForm());
            Application.Run(new LoginForm());

           
        }
    }
}
